package StateAndStrategy.state;

/**
 * @description:
 * @author: ywk
 * @date: 2020-08-12
 */
public class StopState implements State {
    @Override
    public void doAction(Context context) {
        System.out.println("stop play");
        context.setState(this);
    }

    public String toString() {
        return "stop state";
    }
}
